import {createApp} from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import {createPinia} from "pinia";
import {createPersistedState} from "pinia-plugin-persistedstate";
import router from "@/router";

const app = createApp(App);
const pinia = createPinia()
pinia.use(createPersistedState({
    key: id => `__persisted__${id}`,
}))

app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
